home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_01_04 / 1n04079b < prev    next >
Text File  |  1990-08-04  |  838b  |  29 lines

  1.  
  2. Figure 5. DLGSAMPLE.RC - Resource file
  3. --------------------------------------
  4. .
  5. #include <windows.h>
  6. #include "dlgsampl.h"
  7. .
  8. MAINMENU MENU
  9.       BEGIN
  10.           POPUP        "&File"
  11.           BEGIN
  12.               MENUITEM    "SQL Primer"  IDM_SQLPRIMER
  13.               MENUITEM    "E&xit"       IDM_EXIT
  14.           END
  15.       END
  16. .
  17. SQLPRIMER DIALOG LOADONCALL MOVEABLE DISCARDABLE 5, 15, 167, 66
  18. CAPTION "SQL Primer"
  19. STYLE WS_BORDER|WS_CAPTION|WS_DLGFRAME|DS_MODALFRAME|WS_POPUP
  20. BEGIN
  21.   CONTROL "",ID_COMBO1,"combobox",CBS_DROPDOWNLIST|WS_VSCROLL
  22.              |WS_CHILD,4,5,157,40
  23.   CONTROL "",ID_LISTBOX,"listbox",LBS_NOTIFY|LBS_SORT|LBS_STANDARD|
  24.              WS_BORDER|WS_VSCROLL|WS_TABSTOP|WS_CHILD,4,22,97,41
  25.   CONTROL "&OK",ID_OK,"button",BS_DEFPUSHBUTTON|
  26.              WS_TABSTOP|WS_CHILD,109,50,50,14
  27. END
  28.  
  29.